<%-- 
    Document   : loginsuccess
    Created on : 08 2, 12, 6:32:46 PM
    Author     : Patrick
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
    String redirect = session.getAttribute("redirectpage").toString();
    
    if(redirect.equals("0")){%>
    
        <meta http-equiv=Refresh content="2; URL=index.jsp">
    <%
    }else if(redirect.substring(0,5).equals("movie")){%>
        
    <meta http-equiv=Refresh content="2; URL=movie.jsp?id=<%=redirect.substring(5)%>">
    <%
    }

%>


<div id="loginsuccess" style="border:15px solid #006666;background-color:#009999;;padding:20px;">
    <font color="white">Login successful. Redirecting to your previous page.</font>
    
</div>    
